Skip to main content

OnOpen

Type​

message

Summary​

Sent when the card containing the widget becomes the current card.

Syntax​

OnOpen

Description​

Handle the OnOpen message to have the widget perform an action when the card containing the widget becomes the current card, for example setting default values of instance variables.

Examples​

public handler OnOpen()
-- Schedule a timer to perform an action every 5 seconds
schedule timer in 5 seconds
end handler
Thank you for your feedback!

Was this page helpful?